<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jstl_choose_result.jsp</title>
</head>
<body>
	<h2>Choose Result</h2>
	<c:choose>
		<c:when test="${param.score > 90 }">
			<c:set var="result" value="장학생"/>
		</c:when>
		<c:when test="${param.score > 80 }">
			<c:set var="result" value="우등생"/>			
		</c:when>
		<c:when test="${param.score > 70 }">
			<c:set var="result" value="미생"/>			
		</c:when>
		<c:otherwise>
			<c:set var="result" value="재등록 축하"/>
		</c:otherwise>
	</c:choose>
	성적 처리 결과: <c:out value="${result }"/>
</body>
</html>